FROM java:8-jdk-alpine

LABEL maintainer="tom <tantao700@gmail.com>"

ENV TZ 'Asia/Shanghai'

VOLUME /tmp

ADD sentinel-dashboard.jar app.jar

EXPOSE 8080 443 8719
ENV JAVA_OPTS=""
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dfile.encoding=utf-8","-Duser.timezone=GMT+08:00","-Dcsp.sentinel.dashboard.server=localhost:8080","-Dserver.port=8080","-jar","/app.jar"]